#include <iostream>
#include <string>

#include "log.hpp"
#include "TCPServer.hpp"

#include "Task.hpp"

Log log;

int main()
{
    ServerCal sc;
    TCPServer* tp = new TCPServer(8080, std::bind(&ServerCal::Calculator, &sc, std::placeholders::_1));
    tp->server_init();
    tp->start();

    return 0;
}